﻿<TabItem x:Class="MoonyDesk.PluginSettingsTab"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d"
             d:DesignHeight="300" d:DesignWidth="300">
    <TabItem.Header>
        <StackPanel x:Name="header" Margin="3,0,3,0">
            <Image Source="{Binding Path=ImageSource}" Height="32" />
            <Grid HorizontalAlignment="Center" Margin="0,0,0,-3">
                <TextBlock FontSize="11"
                           Foreground="#fff"
                           Margin="3,1,3,0"
                           Text="{Binding ElementName=settings, Path=Text}">
                </TextBlock>
                <TextBlock x:Name="settings" 
                           FontSize="11"
                           Foreground="Black"
                           Margin="3,0,3,0"
                           Text="{Binding Path=Text}">
                </TextBlock>
            </Grid>
        </StackPanel>
    </TabItem.Header>
</TabItem>
